package com.dqyt.khjc.config;

import java.math.RoundingMode;
import java.text.DecimalFormat;

public class sahdsa {
    public static void main(String[] args) {
        double dd=9.9786;

        DecimalFormat df   =new   java.text.DecimalFormat("#.0");
        df.setRoundingMode(RoundingMode.FLOOR);
       // System.out.println(df.format(dd));
    }
}
